package ejb;

import java.util.ArrayList;

import javax.ejb.Local;

import specifications.FlightSpecification;
import entities.*;

@Local
public interface FlightRepositoryBeanLocal {
	
	public ArrayList<Flight> getAllFlights();
	public ArrayList<Flight> getSpecifiedFlights(FlightSpecification flSpec);
	public ArrayList<Flight> getSpecifiedFlights(FlightSpecification flSpec,ArrayList<Flight> flightList);
	public ArrayList<Flight> getSpecifiedFlights(String from, String where, String when);
	public ArrayList<Flight> getSpecifiedFlightsbyAirports( String when,String fromAirport, String whereAirport);
	public void updateFlight(Flight flight);

}
